package com.liaogui.设计模式.观察者模式;

/**
 * @author liaogui
 * @date 2025/3/28 10:52
 */
public class Client {
    public static void main(String[] args) {
        Subject subject = new ConcreteSubject();
        subject.add(new ConcreteServer());
        subject.doSomething();
    }
}
